write the test