ajax tests and index page