Improve metaclass for cli tests

* Don't override methods if already defined on test class
* Add dynamic data to tests if defined in test class or use the default data