Added test script for pickle testing (currently mis-named as test_pretrain_SdA)