more helper tests with state variables