Rename is_inactive() to is_open(), write additional unit tests, use django_dynamic_fixture's N() instead of G() to avoid saving to DB in unit tests