Unit Tests refactoring and fixed ReflectionHelper bug.