Added unit tests for 'what version' command