30 Refactor integration test of controllers to Unit test