Create variant_test.go

variant test