add test and set functionality for robots