implemented form validation for config fields
JTRR-3 #resolve
implemented unit tests for the config page with Selenium