Angular Mock for properly resolving ui-router $state in Karma unit tests