Migrate to using Karma for testing.