adding list subnets test

Change-Id: Ia29efab66712d9f9dbf09c25334d2f4e80528aea