Converted tests/Stateful from doh to intern