implement and test AssocationSet::build
Merge pull request #994 from rmosolgo/rm/build

AssocationSet::build