Server: test+fix most list/fetch/delete API

Still some error cases to cover.