AvTester and some test cases