Also removed boilerplate from otherwise empty __init__.py files which should not contain any code (checked by empty-init script).
There were no inventory-specific unit tests earlier, so we add a new directory for them with some initial low-level tests of _split_pattern with various valid and deprecated pattern strings.