initial integration test, better jsdoc