jsdoc and test for connectionCallback createAdmin