Add author tag and Override annotation. Update test to use try-with-resources. Original pull request: #506.