add test for putText;