group browserName and configs

now we return an array that contains `browser` and `configs` of each node.
added tests (all passing).
coverage: 100%