(fix) Tests: Replace resource loader with AMD

Cleanup be3b2b2