Complete Directive unit tests & JavaDoc