update tests for focused_line_memory_monitor
pep8 and pyflakes
update template line numbers in tests