Fix spec, expected type return after changes in 29ad0720a1b48634bb9713ad0d81eb59091fbcfe