covert rel path to abs path in tests