database tests, inventory template