test passes for #on_connect callback!