add fancy colors to test output
add some new test and some small restructuring
fixed bug in istrfixlen and some small changes