added guard setup for rspec and jasmine