Added test cases for Labeled Matrix. Added logger too.