Write unit tests to make sure that the correct client method is invoked based on the 'subnet' input.