Self update test added, cache dir to system temp