Add test for parsing transactions