Cleanup reusable vars and tests error messages.