Changed variable 'module' to 'self' to not interfere with Angular. Got unit tests up and running with the module system.