clean doc and test