Fix netcat related tests
Fix other netcat related tests