Added tests for CompileCommand.
Added tests for filters to CompileCommand test.