adds first tests for config
updated tests for config