Test for unexpected coordinate output in JSON serialization

In reference to #179