Fixed devise test errors