More tests.
Added protocol description.