Replaced union with struct for object pool entry. Added test.
Replaced union with struct for object pool entry. Added test.