fixed tests using patterns
- put project manage intitialize in controller.intialize()