Add test to prove rejection of invalid peer