modify test suite to use EnvironmentAccessor instead of setting live properties

also resolves #55
And if you remove the static nature of setEnvironmentAccessor, you won't need this either.