Fixed grep tool and completed integration testing for 1 pipe