fixed print/println
added a bit more tests