More checks added to matrix_tests_5