Implemented env and browser teardown

Change-Id: I8004c680770d80c8ad7578c0be99ccf3419b38fb