Added tests and fixed query in connectionVC
Added database tests
Added delete functionality