Updated the test, added a new flag (-all), added closing of the coverage file and updated the description