Test and refactor NOOP

This PR adds complete test coverage for the NOOP command.

`jsdoc`umentation has been added.

Corresponding code has been refactored.

Please refer to individual commits for additional information.

```
=========== Coverage summary ===========
Statements   : 49.48% ( 480/970 )
Branches     : 36.28% ( 152/419 )
Functions    : 50.28% ( 91/181 )
Lines        : 49.43% ( 479/969 )
========================================
```