Assigned more time for a slave to become available for pulling updates

Fixed a error in test where update puller pulls update when a slave is not available by making it wait for a while for the slave to become available.
Oh, agree. I was complaining it too when I use it. Changed to "stateToString".