'data' factory test'