adds more unit tests and fixes a bug that allows unknown fields in action.social.