Add guard for RSpec