changes for better usages / bugfixes
fix unit tests and add htmlspechiachars to string
remove control signs