use setup() method instead of setupSpec() because beans are not set