add package inputValidator and update ServiceTes class