Added blocks tests
Added protocol tests