Implemented prototype for end to end and unit tests via Jasmine