remove deprecated use of let in before(:all) block and seperate out into contexts