Jasmine four tests cleaned up and working