tests for output data views and refactor tests for params regexps