Added error reporting test.
Added error tests for other adapters.