Docs warn and test fix