Tests

Y U NO TEST? Jasmine specs added.