Little optimization.
Use reflection factory in test class.