add integration test for issue#2
fix
fix