Remove duplicated test
Change shell method to require settings
(Fix compile error of override annotation from Groovy 2.x)
Remove lazy annotation to avoid infinite loop