Separate tests into Blender-dependent and pure logic parts. To enable testing of the logic layer, defer importing any modules that rely on bpy or its stubs. The tests under tests/blender are executed ...