bson string parser generator test