Add inference TermRaw test to test suite