Added a memory heavy test
Merge pull request #26 from rohilsurana/issue19

Added a memory heavy test. Fixes #19