some junit tests and some changes on GameEngin  added