Jasmine AMD tests using curl
Play with promises helper
Update docs ref