Add missing modules needed for tests to compile

I the previous state, compilation of tests was failing, e.g., 

http://hydra.cryp.to/build/42063/nixlog/5/raw

BTW., I checked now and tests run OK on 7.8.