added a spec to tests that before function in outer describes gets called