fix typo in karma test