Add tests for tile layer controller