initial tests for consent logic