unit tested url-shortening framework operating with zappa js and mongo-db with mongoose