Fixed tests.
Minor fix in controller.
Added unit test to controller.
Minor change in comment.
Added controller methods and routes to get an export job state, and to change its alert visibility.