More specific error testing