integration and model tests