Removed unused functions
Optimised tests by removing unused variables and adding further assertions
Anal code style fix
Added missing clientId variable, fixed docblock
Added missing docblock
Updated docblocks
Updated more docblocks
Updated docblocks
Updated link to wiki