Updates specs to use new 3.0 syntax getting rid of deprecated warnings