Add mock findInflection test