Create custom matcher for jasmine unit tests