Updated monitor test to better handle verbose output