Refactoring to pass just the PrivMsgFunc to the Commands methods and added test to check if the available commands are sent to the channel when an invalid command is provided
Added tests to Register and HandleCmd functions