fixes #2, added prefix coverage