Add variables to frame, including line_number, docstring and code. Add tests for testing extracting docstrings and code objects