ENH: better examples and testing