added integration test with chaotic non-linear function