Python Test Object Classification