added header view specs for karma-mocha testing