Added coverage for error case, 100% now.