updated test page and specs to follow amd/require pattern