Added reflect method.
Removed unnecessary tests.
Code formatting and organize imports.