added test, doc update