Adds tag_spec and other minor tests