moved stateful tests into same spec