added functional tests for setting browser via environment variable