Add unit test for pinned statuses