fixed intergration test