implemented input component tests