[#468] Added OAuth scopes-specific tests.