Tests for retaining permission bits