BDD test for CLI and transition function prelim