Improved developer guide unit testing documentation on directives

* Updated the directives unit testing documentation sample code with expression 

* Removed documentation block with nothing on it