Added a test specifically for testing matrix contents