modify tests
add gamestate test
Merge pull request #325 from htlxyz/v3

add gamestate test