Changed stateModel's add to be a boolean to check for that type of
thing, and then changed the corresponding tests in modelTest as well to
reflect the changes.