more sanity checks around cwd in travis/test