Fix tests which referenced an old url
Add a test to confirm the whitelist of sort options