self contained test env