Make TestLoader inherits from top level script.

This fixes AS's “can't get ASUnitSentinel” on Lion.