moved server test to main so Manager doesn't know about couchbase
test ManagerEventHandlers