added test case for _getPrefixes - empty input should generate set([''])