NNZ: added unit test and fixed get_next_feature()
Merge pull request #1168 from van51/develop

NNZ: added unit test and fixed get_next_feature()