tests: add test for non-matching network