Adding peer registry tests.
Modifying new peer registry test.