Add some unit tests for correct thumbnail sizing