working on tests mainly the custom validator