add `chai` dependency