Add end game test

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>