minor tweak to byline parsing and add some tests