Add unit tests for func StringInSlice. Signed-off-by: baude <bbaude@redhat.com>
Create unittests for the create_cli helper functions. As such, remove cli context usage from the functions to further divide between cli input and parsing. Also, simplifies unit testing. Signed-off-by: baude <bbaude@redhat.com>