Adding integration tests for complex example.