fixed that should be removing the stubs directory as String not file
added a before assertion