added more test cases
text printing working now