add test for retrieving list of all deputies