Completed Code Coverage for Server.addHook