Show generic error on failure.
Remove unnecessary test code