added spec cases