Adding chai dependency, and test script to package
Start of a test file for the db middleware