Modified spec test

Modified spec test to work with it do instead it {