Getting testSnapshot to compile

Unit test is failing