Add unit tests for changes to nfs.py

Signed-off-by: Robert Breker <robert.breker@citrix.com>