added tests for inverting user attribute visibility