- Added code hooks to load core operations from controller.js;
- fixed minor bugs and added new test cases.
Merge branch 'test'