Add temporal memory tests

Requesting cursory review: @scottpurdy