testing java game