Added integration test 0
Removed unused code