Some more unit tests (make sure we properly generate dimnames attribute if it doesn't exist)