more tests and interface for value escaping