Add test for presenceState