Jasmine specs
Merge pull request #3 from asavartsov/master

Tests