go: simple test cases for v2 functionality