-- Wrote test cases for 'parse' in Environment.
-- Fixed some mistakes made in Environment's 'parse' method.

Signed off by: Mark Farrell<markfarr2011@gmail.com>