[liuxia] Remove duplicate code in OwinEnvironement test.