ENH: use `algorithm` keyword + expose failing test