Rename 'service' to 'crdtsvc' and improve testing