fix mail and salary validation test