Implement AssignmentStore.getTopic
Add tests for AssignmentStore.getTopic