Add test to check that inverting a singular matrix fails