exception managing tests