fix test dependencies on user directory