Tests and fixes for QuerystringKeyEnvironment.