Fixes bug in parameter_values._cleanse_value

Addresses loophole for handling numpy arrays with ndim==0

Updates tests for ArrayType