Changes test to also verify painting name.
Moves painting quad extraction to debug only builds, as it's currently incomplete.
Fixes invalid response reading in tests.py.