Added Spec tests