fixed tests after adding permissions