BUG: gh-2496
MAINT: style changes, an extra test, undo a previous change to TestHilbert
Merge pull request #2500 from argriffing/gh-2496

BUG: fix issue with rtype parameter to signal.unique_roots. Closes gh-2496