Fixed a failing unit test in WineDetailsControllerSpec.js re functions in parent scope