#11: improve and add tests to the Reflection utility class, fix some warning