Added asserts for GEM_PATH and PATH.
Added a tearDown.
Added a test for --pop