removed `ref_class` arg for creating ObjectCollection instances (duck typing)
Added tests for datatype.py