an example of bdd in node for a friend