state/apiserver: use charmtesting