ROBE-218 refactoring and xls & xlsx exporter test fix