add test that you can start with an empty data_var array and fill in all the values