Dimensions added tests and fixed a copy, paste bug

... and I wondered if I should make test cases for already tested functions ...