implements the test