nil spec tests fixed