Fixed get_snapshot test