fix to graphics tests