fix test for valid user