enhance bdd tests (doesn't work on linux, but OK in other OS)