fixed test
Added unit test
Changed the index page.