failed to replace expected_results dict