IGearClient.add accepts environment variables - fixes 568

Fixes #568 
Add standard record unit tests for this.