graphics primitives drawing method tests