Added .jpg to list of files that don't get deleted. Fixed syntax error
in test line