add basic jest test

This scripts object is overriding the existing scripts that contains postinstall.