Fixed issue that made getDescription() return a null value
Added serialVersionUID
Added test case for the Credential class