Add API tests

This PR adds tests that prove that the API is available when loaded

* in a regular script tag
* by RequireJS
* by RequireJS in the jQuery build version (with jQuery present)
This file should also verify the jQuery api right?