[OLINGO-317] Minor code clean up in test