wrote tests for agent module, fetch_an_integer, and #[cfg(not(test))] on fn main()