some tests and mbstring support