Passing Karma test