Test disconnect
Update connection test
Update tests