Unit test - protocol.