Added test env as a configure option