Added tests to SnapshotProcessor using python mock

Retained the current tests. After this is reviewed,
the tests in test_snapshot can be removed.