Updated to use Karma for test runner