fixing test that started failing after merging of #656