dpn_generate_test_bag TypeError fixed