#732 Optimized access to the TestClass by using a factory method and a shared pool