add unit test for MetaPos::toPtr()