Move some code into helpers. Display last test / last completed test result on main index.
Move more code into helpers (s3 links, test type)