Fix test label
Groundwork to support Snapshots and Wakeup
Added a way to get aggregate type from metadata