getVisible returns the visible attr.  isVisible takes ancestors into account.  getListening returns listening attr.  isListening takes ancestors into account.  added unit tests.