Added tests for invalid debug