Enable exception format checking in the tests.

Updates the Keystone base test class so that we check for exception
formatting errors.

Change-Id: I168d8662752017050d63c83142f6fc45cd6fe38c
Merge "Enable exception format checking in the tests."