Applied hashcode fix from sandy branch
Added a testing framework library dependency, corrected a path, and made MemoTest more modular.