add test for SubnetImpl class.