Fix LoadTest error

The problem still appear each time an empty resource is loaded.