Added test drawing code.