test dispute state logic