pull out index and create browse.html
fix test for browse