Typo: changed split() to strip()
Tests for parse_entry and fixed bugs, and rearranged some of the test code.