Unit tests for configuration