Fixed test for earlier exceptino