ensure bin/document_api can be run [fixes #74]