tests/tracking: Use pytest fixtures

This should work better than using the AppTest class
tests: Use pytest fixtures for lib and model
tests: Use pytest fixtures for functional tests