test(testing.create_environ): Cover missed branches

This patch adds a couple tests to ensure that a couple code branches
in create_environ are exercised.