added tests for default responses transition.

also refactored transition a bit for easier testing.