[TEST] Fix tests for debug argument