Replacing test resource