WIP: Porting stuff to DeepFrz; making --enable-tests work...

(cc: issue #4)