Add spec task to Rakefile.
Fix memory leak. Thanks go out to Hiroshi Shirosaki and Jon Forums (https://groups.google.com/forum/?fromgroups=#!topic/thecodeshop/74n1P4_dSLg). Closes #5.
Merge pull request #7 from jarmo/master

Fix memory leak.