added unit-tests for kRouter.directive.