Added OAuth test

Change-Id: Id55612b7348eb90c47ac1c885f5724b81cc5d11f