modularized test script