Integration tests added for i (Input) and o (Output)