Fixed spec and made lint happy