updated how tests are run