add test for empty prefix check in ElementPath