Changed the replace-facts test to pass in the correct facts map