fix tests
remove debugging code