fixed ConfigTest and added license headers