instantiating the component for testing

Might be a better way to do this, but this
worked for me.