Fix bugs in ethernet and test scenario tests