TEST_DIR_TWICE_ESCAPED doesn't seem to be used anywhere, can we remove it?