test for zero values and that min and max attributes are handled correctly, including extension to handle them when zero
Merge pull request #4 from petercoles/master

Recognise cases when a zero attribute value is legitimate