Drawing test code