WL-124 added the jasmine tests for the autoenrollment csv

@afzalwali @asadiqbal08 
@chrisndodge  Kindly review the changes for WL-124.
Refactor to share code with first_warning_message