added validation on employee / some method extractions on js / created test class for employee's rest services