added spec test