Fixed dependencies in karma tests