Adds integration test

This is simply to check the complete workflow works as expected.