Fix tests for new issues in api
Merge branch 'master' of https://github.com/gbif/metrics