Fix merging multiple options hashes, add test.
Fix typo
Merge pull request #80 from sayrer/fix_attachTo

Fix merging multiple options hashes, add test.