Added unit test for export service method
Removed semicolons to have more groovy code