added some tests
Fix: client now receives data from server