fix and test longest common prefix