Rewrite tests to use a lot of AMD loading