adding atomic restriction error tests
making Namespace field explicit