fix setup and add assertions on value attribute