GOLD-716: Refactored unit test code.
GOLD-716: Refactored unit test code.

slashk/goldstone-server,slashk/goldstone-server,Solinea/goldstone-server,Solinea/goldstone-server,Solinea/goldstone-server,Solinea/goldstone-server,slashk/goldstone-server,slashk/goldstone-server,Solinea/goldstone-server,slashk/goldstone-server