add transaction parser and altered test accordingly

closes #30