incomplete expression when last line is commented out

issue addressed in #151 

Ready to merge

* [x] Unittest
* [x] Fix
print, not println?