Add index file with test code