[misc] Fixed failing functional test