added auto generated doc and new test