added tests and updated entries_from_lines to pass them
pep8 cleanup
used more fixtures in test_figures_from_entries