Add legacy Angular testing

Runs as part of the `grunt test` task. Can also be run independently with `grunt karma:legacy`.