Added test for multiple inputs