Added a test for _create_units().