Added tests for TestInPlaceGenMatGenDouble
Renamed equal to equals