fixed doc & test