Revert "Add unit tests for painting commands."

This reverts commit cadee18613b145dbf5a4e591819e7defaa076dc6.