added complete suite of test cases for ar q, t, and tv