Fixes karma tests (missing async)