Test improvements, lazy environment configuration and temp. recursive task clean removal