refactor test_generate_datasets
improve merge functionality and documentation
refactor assert_neo_object_is_compliant
refactor container core tests