[WFLY-490] added a detailed test case for invoking restricted operations
[WFLY-490] replacted a TODO with a proper comment