Fixed #44, added 2 new Jasmine tests
sample apps updates