ported the actor test to rspec.