* Refactor flattenSchema to simplify JSON schema for Google Generative AI API compatibility
* Added unit test and github action
* Add unit tests workflow and update test script in package.json
* Downgrade eslint-plugin-jest to make min node version 18