Add some tests for objectmaps