Shuffled the tests around.
Added negative dimension checks.