Convert tests to bdd