Test added and working for admin directive.
Adding validation underpinnings