Tests: Correct logic of a broken assertion
Tests: Improve jsonp tests

Since global variable for callback always would be equal to undefined value
it better to check for boolean instead
Tests: Do global clean up in teardown function