State var tests