Add metadata with states to test