Fixed path to tests in gruntfile.
Finished implementing globals test.
Added mainfile handler unit tests.
Fixed test tag
Added references handler unit tests.