Add change state success test
Add change state fail test