Added test for 0 or less dimensions