Fixed tests to work with corrected referrers element of JSON