updated specs to remove let and subject declarations in before(:all) block
according to rspec-core, that's no longer supported and not the good way to use them
using a normal def block instead