synchronize alias sampling and add test