added tests for new Hash and Array type properties (now also throwing an exception if passed wrong property value)