Added an integration test
Merge remote-tracking branch 'origin/master'