Remove tests debug code