Use __setattr__ for setting traits
HasParam.param_view return JSON + add unittest