r9548: more additions to make test; better checks for starting and stopping smbd