JIRA: https://jira.spring.io/browse/INT-3917 * Add `@DirtiesContext` to tests with application contexts * Add `cache.close()` * Add NPE check around `cache` in the `@After` methods * Change a parser test to use mocks, not real Gemfire objects **Cherry-pick to 4.2.x**