wrote a set of print tests and fixed the bugs that were found