Unit tests for AbstractProxy
Refactoring common server workflow