The answer is yes and no. You can write unit test case for the code using core service however you can't write unit test cases for event system implementation unless you are using core service for event system implementation. AFAIK Event system uses TOM.Net api and which doesn't have unit testable implementation. Because when you create page mock object for page and a method is expecting page object then "(mock object).object" call will actually invoke database connection and will try to connect to database which is not desirable for unit testing.