coord order fixed in tests, plus a few more tests added