fixed top level contionals with children rulesets, engine.clean no longer wipes event listeners, started end-to-end tests