More work on matrices tests