Remove debug mode for unit test