Update test_w3 to use new test primitives from BaseTest