added test coverage with jasmine and the first 3 unit tests