Add tests to check both no_input=True and no_input=False, for change in #54