Updated testcase to stop test from failing in different Java
environments.
Added TODO on how to fix it later