[update] Ensure models are only created when running tests

As discussed in #16