Matrix test added