Added tests with optional jquery