add test for fetching published data while anonymous