Added libraries required to mock Java classes in Spock. Added tests for provider ordering.