fixing some reflection warnings
cleaning up some tests