robot spec refactoring