added one more test for 'export' & fixed exit code for it