Adds tests of simple exporting.
Fixes to export with custom field which is selectable multi items. fixes #46