add tests for members_only option