Add test for consent error