converting to use single runTest method