DELTASPIKE-692 workaround for tests which don't use optional classes