test: ensure proper transitions in test