implemented objectmap test and unified API