Add block-matrix code as regression test

I added a new regression test based on my block-matrix code.