added testcase for function belongs_to_snapshot
added testcase for function belongs_to_snapshot