Modification in test cases and is_linear match