remove chmod (already below)
remove throw
add $this->instanceOf('...', e)
add $this->pass