Unit Testing with Jasmine

Needs to do more unit testing, of course.