Slight refactor of Validator for testability and its test case

IN PROGRESS - issue AFDP-31: Create UI for Manual Fixture Enrollment 
https://vt-alerts.atlassian.net/browse/AFDP-31