[PATCH] ndctl: fix test file paths, fix test bug