add bindparser tests; useful for doing #1186 with confidence