Fixed the Karma configuration and packages installed so testing is working again as well.