Removed redundant assert which was posing trouble in agent/format_tests