Unit tests for userTileset middleware.