Added 100% test coverage to jsonp library.
Refactored tests to be more maintainable