Setup server spec code to be shared
Simplify with shared mock code
Share tests and remove a lot of redundant code