Ensure that the special 'all' environment is not case sensitive

Add tests for case sensitive 'all' environment check in all
languages, but it's only an issue with .NET implementation.