Rewrite specs using "expect"