Make tile_layer_test pass

Do you know how often sets of options are treated as objects and used as a group? It might be nicer to use named parameters here.