You don't need an appserver to test JPA.  Besides, your current layer still needs an entity manager, right?  How does your strategy keep the layer from needing an appserver?