Fix test to select attributes