passed integration tests for taking single input