Cleanup and add tests to CohortValidatorTest
* add setUp method preparing variables needed for tests to remove
duplication in test setup
* add tests to assert IllegalArgumentException is thrown when
validating null or an instance other than Cohort
Remove throws Exception from IDE code templates
there is no need for the throws Exception clauses in the tests
therefore removed it from the intellij and eclipse templates