Allowing optional dot at end of last TP.
Removed unnecessary import.
Fixed test and removed println.