fix tests failing, some chars were inserted in the test function