finish titles
fix tests; add pagination