Removed getcwd() from UserTest