Fixed abtests to use the preferences scope correctly.

Made abtests display its children in the right order.