Create M_InverseTest.java

still needs more tests