Testing peer and node class