fixed readLiteral and added test
Merge remote-tracking branch 'origin/patrick-branch'