Fixed gSelect + new test cases in config2