added code/unit tests for InputGroup and ListGroup