[package.json] Make some modifications such that build does not fail if no test specified.