fixes to graphics tests