Add project rights. Fix test data generation.