Eliminate reflection warnings from test suite