Added a test to ensure that nesting metrics is possible.

oh boy oh boy i hope that this pull request works i think i solved github

also, created a single test to make sure that nesting metrics works.