Remove debug code from FunctionalTest