[TEST] - rewrite test GetResourceTest
Merge pull request #2099 from aliakseihaidukou/GetResourceTest

[TEST] - rewrite test GetResourceTest