Added mock and first peer test.