Tests for config class