Also add tests for subclasses of Rugged::Object.