add junit test case
fix game record write to sql problem