One minor case is fixed (to pass "" instead of "all" as the group_id parameter to indicate viewing all threads), and tests are added.