maybe add tests for the case where one dimension is smaller and one is larger?