tests written using jest and some fixes to gulp