Switching tests to run with Karma