fixed permissions test