Fixes #5744: add missing test in ncf for variables
Merge pull request #142 from ncharles/bug_5744/int/missing_test

Fixes #5744: add missing test in ncf for variables