fix(karma): fix broken unit tests