Added getter/setter test.
Expanded getter/setter test.
Patched a memory leak around gear_validate.