Add tests for repost permission.