fixed test
(cherry-picked from ab83094)