Introduced Priority entity with tests