add 'test and set' action and corresponding batch_init mock
add last_response to robot model for convinience and add persistence hooks after getting response