testrunner: Added REGISTER_TEST. Thanks lucasmrod.
testrunner: removed redundant ';'
CLI: Added --environment flag
Ticket #4801
Merge pull request #147 from JustRamires/master

Ticket #4801