solve frunctional and integration tests