CSPACE-6278: Added environment variable test and notes. Minior whitespace changes for consistency also included.