Finished test for getValidArray and added a test index page.