Added the unit tests + fixed application.config.php when modules specified

I added the unit tests for the build command with all the options.
I fixed the `--modules` option, enabling only the modules specified by `--modules` in the `config/application.config.php` file