Exception tests fixed