rearrange exception tests