[net] tests: test various assertions