moved tests to page model instead of queryset