added Python-based drawing and alloc-write test