Fix geojson cache test

@gutard you were right, adding a sleep time made the tests fail.

I noticied that ``@never_cache`` was setting ``Last-Modified`` before ``@last_modified``, preventing the correct value to be set.