bson: simplified custom_test