more style tweaks and fixes for tests

also, more turn order tests
and a __str__ method for debugging