A test for devise.