convert tests to bdd