added unit tests for Reflection