Correct subnet errors and added simple subnet as test.