Creating the test code