added a test spec for matrix.add