Layout tests for QxAtom reimplementation.