Add test case for medium-sized 20x20 matrix

See #23.