Added getStatus() method and now also testing for the correct status.
drwxr-xr-x - branches
drwxr-xr-x - tags
drwxr-xr-x - trunk