Adds test for setting and getting input component