added some test helper scripts