added test and code to throw errors if the fields dictionary includes None as a value
bumped version to 0.30.1 for release