Move resource creation from init to request module.
Add remaining init tests (besides keep-alive).