added a first test from John Regehr