Form: added jasmine tests

- [ ] @Aintaer 
Seems like it's missing "is a function that returns a thenable"