optional import in draw tests