Change from RSpect should syntax to expect syntax.  Also from == to eq.  Also from =~ to match()