published? test in models.spec functional