add a monitoring helper for focused monitor tests
minor corrections
update tests for focused function memory monitor
update tests for the focused-line-monitor
minor cleanup