bug fixes for jasmine test-framework

Using **grunt-contrib-jasmine** if the user is opted for **--test-framework=jasmine**