removed if check in beforeEach, wasnt working with bad gruntfile
optimised beforeeach in all tests and added comments for change