Redmine#5270: simplify test