add relative map path test for codes