BAC-1197: fix ResourceLoader test

@wladekb