(fix) Tests: Replace resource loader with AMD

Just swap this with the line below.