(PUP-3302) Add acceptance test

Add acceptance tests to prevent regression on use of the resource when
using directory environments.