#27 implemented JUnit tests. Cannot (easily at the moment) test readFields in all the String__ classes