extended ReflectionUtils and added unittests.