Fixed ignore check and type check. Unit test cases are fixed.
Fixed unit test cases.