add test for multiple inputs