Adding getter methods to get the boolean values of $databaseLogging and $logOnlyErrorJobsToDatabase
Adding job-name to return message if type cannot be casted to string
Fixing comments
Fixing test cases
Fixing test layout (first expected value, second value to check)