Contents protocol tests

Signed-off-by: Sharif Olorin <sio@tesser.org>