Added InverseString and tests