(fix) Tests: Replace resource loader with AMD

- Port autocomplete;