test changed to throw an exception again