escape stuff in quotes sequences

- add and cleanup tests