doc and test updates