PropTypes: fix Ref proptype
Test cases for <Element />