Add tests for title, fix 'id' issue