Spec tests not working