Check arguments in wrapper for xheevr. Add tests for errors reported in #8057 and #8058