Fixed reflectWith and made TestAttributes pass

Fixed some private fields that were renamed by the Java->C# converter
tool and caused the test to fail. Changed reflectWith to match the
proper calls to C# methods to match their Java counterparts.