Automatic configuration test-case generation with SMT solver