Add tests for restricted user