Unit Tests for compare methods

CodeSnippetFactory and MethodSignature