Force resources loading before test run

This makes the test a bit more stable, since first access to resources causes significant delay, and will break tests using timeouts.