Added tests for reflection extensions.