restored capsys in parametrized test
fixed remote tests