fix test, add more doc