Add test for acknowledge