adding chai
adding promise and generator tests
some other tests