full test of contract