changed LEGAL IC test case