added testSpec.js file for following tests
added 'get scroll offset' test to return a number
added 'convertToOrientation'-function to return 'North'
added 'South' to 'convertToOrientation' function
added tests for returning North, South, East, West'
solved tests for returning North, South, East, West'
refactored 'getScrollOffset' and 'convertToOrientation' logic into controller object
added spy for controller.getScrollOffset function
removed controller.getScrollOffset spy
Added Test for resetting degree after 359
Solved Test for resetting degree after 359
refactored tests
added test for offset input 111 to return a numerical value (111)
solved test for offset input 111 to return a numerical value (111)
Added test for returnig offset plus degree sign
Solved test for returnig offset plus degree sign and refactored
renamed Controller to Compass
refactored test code
added compass.convertToOrientation spy