Add test to check for properties on EasyTest.
Add 'getService' function.
Add 'getController' function.
Add 'mockModules' function.
Update code examples.

* Remove unnecessary <pre> tags.
* Remove whitespace at the beginning of the code examples.