Start SessionTest, mock global functions, finish FileStorage test