Create a test for forbidden names

This is mostly to prevent obvious cycles.

Change-Id: I525c16f37868ef99d060c7de6580eaeabdd0f5d1
Unify all masks, free names and forbidden names

Change-Id: I45c5981a8d4031cb7a5d4db6e6a6a0fcca5725e2