unit tests and jasmine framework