added Stateful tests to all.js