Fix some tests, release version, support __SOURCE_DIRECTORY__ in eval