Some java tests with its resolution.