modify test based on new api output
fix bug in repo.__unicode__ identified by tests