Test cases pass except for last one.