Simplify tests (use raises_regexp)