refactoring spec - removed repeated specs