Added first tests and jasmine support