Add tests for setting environment as String

Concerns #39
Bump to 2.0.2

Concerns #39