test(di): refactor the tests a bit
chore: use dev karma (preprocessor failure hack)