Handle errors in users#test