Add matrix multiplication test.

Add a test that allocates memory and uses it to calculate the the
multiplication of two matrixes, whose results can be deterministically
calculated.

I.e., a real test!