DRYing unittests and converting them to mocha

This is a clean check in for mocha tests. They are kept in the mirror directory, so that we can still continue to test based on vows tests. They can be executed using `Grunt mocha` command