add test to demonstrate bug reported in #166
revert 9ba5119c8cd3d663e554d7715210223bd5c73425, breaks tiles edition.
Merge branch 'master' into issue_165