Added new test which required changes in 'CommandCompletion' class and its interface.