Added tests for MainCLI
Added save() method in MatrixLoader