[BACKLOG-1222] -- updated karma unit test to match change in functionality