add IntegrationTest
merge test to one file
merge with original