added params validator without params error and its test