Added get_by_name method to politician model, worked on query tests