all pkgs: update according the new Package API

- take into account the curr_package parameter for Modelling plugins
- update tests using a package instance rather than the singleton