Properties to env mappers. Added a bunch of tests.