added extra testcases for getting trace matrix for java test file