wip
merged
First tests for AssignmentFactory.
Implemented and test AssignmentFactory.getAssignments.