unit tests for osm/object.hpp