Adding junit and integration tests for JSONP