User registration dependency checking

- Unit test infrastructure
- Per-environment configuration