remove whitespace
add unittests for removing escape squences
add method to remove escape squences