test resident srvice