Tests: Written tests which checks whether error is thrown.
jQuery adapter now throw an error if jQuery is not available.