Code used when learning BDD