added logic for setting up test site for acceptance tests