Added matrix3 test cases