ImplContainer optional semantics and DataArray tests

Code by @balint42