ResourceGroupParser refactor

Stuck with the commented out tests failing.
Basically, this test and the following tests fail here telling me that the size of resources is `1` instead of `2`.