Modified rspec for support of synchronize.