Added HamaPeer.test method