added actual module database tests
adding rimraf for nice file removal
grunt should run when tests are updated
removed path as an instance variable

as a result, the functionality of `destroy` had to be changed