Added check that zero dimensions aren't added during NewUnit
Added initialization test