removing dead code in the tests