Working getInverse, tests clear