Add tests for config