Regression tests for Fix #170

Note: Other related tests can be added in this class to ensure poolable/singleton factories, serializers, etc don't offend the GC resulting in potencial PermGen memory leaks.