Ensure the correct jQuery instance is passed to tests (was only working on the first test per page)