Only call EhCacheManagerFactoryBean's destroy() method when actually initialized
Fixed job scheduling data test for Quartz 1.8