Spec tests

addition of spec tests