Some tests for matrix ops