Working on testing with jasmine, still not sure how each part will best be tested