A colleague of mine recently wrote about seperation of concerns in relation to unit testing WCF services. It may be possible to expose a library directly in WCF but I would rather see an architecture like the one presented in the Service Software Factory