Added more tests to Peer