adapted test to changes in controller