Writing tests for browsing objects