Code clean up

- Delete a comment block in MDNetworkGenerator

- Add a new test.