Extend test coverage (shell, fping)

Added unit tests for shell code, that wasn't covered before.

Implements: bp/python-novaclient-unittests
Change-Id: I76e3df05d53e6c08e224feb30eb90ae819d8cdce
Merge remote-tracking branch 'upstream/master'