run the test code