update tests for the function memory monitor
update tests for the line_memory_monitor
add docstrings for the get_records method