test(domDecorator): add test for instantiating controller by name

Closes #4