Fix failing integration test.

This fixes a problem where running the integration tests in parallel
would result in errors because the resource names were based on a
timestamp. Now, a new utility method is used which gives back a
unique ID based on a name, a timestamp, and a random integer.