tests and modiffications

removed some unused variables and added tests with mox for smbfs support