Added test for base resource logging.
Added test.
Added test for base resource error handling.