add test and doc for sync prefix option