adapting the test