actually fixes using with connect
new dev-deps
added test for use in connect