Added tests, yardopts, and improved documentation