added chai as a dev dependency